Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix fuzz 5 reloaded: modexp - endianness issue for exponent MSB #266

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

mratsim
Copy link
Owner

@mratsim mratsim commented Sep 6, 2023

In the EVM modexp, base and modulus is little-endian openArray[SecretWord] while exponent uses big-endian openArray[byte].

We didn't distinguish between the two.

@mratsim mratsim merged commit 1ad8499 into master Sep 6, 2023
12 checks passed
@mratsim mratsim deleted the fuuz-5-2-even-modexp branch September 8, 2023 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant